<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductReviews.ascx.cs"
    Inherits="Tathata.Web.Modules.Products.ProductReviews" %>
<%@ Register TagPrefix="nopCommerce" TagName="ProductWriteReview" Src="~/Modules/Products/ProductWriteReview.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="ProductReviewList" Src="~/Modules/Products/ProductReviewList.ascx" %>
<table width="100%" class="main">
    <tr>
        <td align="left">
            <div style="width: 100%">
                <%if (ShowProductReviewHeader)
                  { %>
                <div class="hl">
                    <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" /></div>
                <div class="blockHeader">
                    <img src="<%=Page.ResolveUrl("~/images/VerticalLine.gif")%>" style="margin-top: 14px;" /><b><%=GetLocaleResourceString("ProductReviewsControl.ProductReviews")%></b><br />
                </div>
                <%} %>
                <asp:Button runat="server" ID="btnWriteReview" Text="Write review" OnClick="btnWriteReview_Click">
                </asp:Button>
                <nopCommerce:ProductWriteReview ID="ctrlProductWriteReview" runat="server"></nopCommerce:ProductWriteReview>
                <div class="hl">
                    <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" /></div>
                <nopCommerce:ProductReviewList ID="ctrlProductReviewList" runat="server"></nopCommerce:ProductReviewList>
            </div>
        </td>
    </tr>
</table>
